Skip to content

feat(config): add helper for loading kit config in the case where package.json has been parsed already#3492

Merged
JasonVMo merged 4 commits intomicrosoft:mainfrom
JasonVMo:config-utility
Jan 23, 2025
Merged

feat(config): add helper for loading kit config in the case where package.json has been parsed already#3492
JasonVMo merged 4 commits intomicrosoft:mainfrom
JasonVMo:config-utility

Conversation

@JasonVMo
Copy link
Collaborator

Description

This is a quick helper function to load the kit config (resolving with the base config) in the case where package.json has already been loaded for a different purpose. This just routes to the internal call loadBaseConfig but makes it more generic by taking the PackageManifest type instead.

Test plan

Purely additive code, routing to existing codepaths that are already in use. Just unit tests.

@JasonVMo JasonVMo merged commit 0727cf9 into microsoft:main Jan 23, 2025
10 checks passed
@JasonVMo JasonVMo deleted the config-utility branch January 23, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants